package com.java.system.common.entity.admin;

import com.wordnik.swagger.annotations.ApiModel;
/*import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;*/
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 角色与资源单关联表
 *
 * @author Shan feiyang
 * @email
 * @date 2019-05-22 13:43:51
 */
@ApiModel(value = "角色资源类")
@Table(name = "sys_role_resource")
@Data
@Accessors(chain = true)
public class SysRoleResource implements Serializable {
    private static final long serialVersionUID = 1L;
/*

    //
    @Id
    @ApiModelProperty(value = "主键ID")
    private String id;

    //角色id
    @Column(name = "role_id")
    @ApiModelProperty(value = "角色ID")
    private String roleId;

    //资源id
    @Column(name = "resource_id")
    @ApiModelProperty(value = "资源ID")
    private String resourceId;

    //创建时间
    @Column(name = "crt_time")
    private Date crtTime;

    //创建人id
    @Column(name = "crt_user")
    private String crtUser;

    //创建人名称
    @Column(name = "crt_name")
    private String crtName;

    //创建人IP
    @Column(name = "crt_host")
    private String crtHost;
*/


}
